const CONTACT_API = {
    getContactList: {
        method: 'get',
        url: '/contactList'
    },
    newForm: {
        method: 'post',
        url: '/contact/new/form'
    },
    newContactJosn: {
        method: 'post',
        url: '/contact/new/json'
    },

    editContact: {
        method: 'put',
        url: '/contact/edit'
    },

    delContact: {
        method: 'delete',
        url: '/contact'
    },
    /*
    登录
     */
    userLogin: {
        method: 'post',
        url: 'user/login'
    },
    /*学生管理 */
    userFindAll: { //获取所有管理的用户
        method: 'get',
        url: 'user/findAll'
    },

    /*
    设备管理
     */
    deviceAll: { //查找所有学校设备
        method: 'get',
        url: 'device/all'
    },

    deviceBystatus: { //查按条件查询
        method: 'get',
        url: 'device/all'
    },

}

export default CONTACT_API